package views
{
	import flash.media.Video;
	
	import org.dexter.DexterFramework;
	
	public class CameraVideo extends Video
	{
		public function CameraVideo(width:int=320, height:int=240)
		{
			super(width, height);
		}
		public function play():void{
			visible = true;
			attachCamera(DexterFramework.getProperty("localSetting","cam"));
		}
		public function stop():void{
			visible = false;
			attachCamera(null);
		}
	}
}